#!/sbin/bash

# install channl.tv
# (c) 2007 Bruno 

if [ -d /stuff/channl.tv/Channltv.frappliance ]; then
  echo -n "        * Installing channl.tv"
/sbin/cp -R /stuff/channl.tv/Channltv.frappliance /OSBoot/System/Library/CoreServices/Finder.app/Contents/PlugIns/
#/sbin/chown 0:0 /OSBoot/System/Library/CoreServices/Finder.app/Contents/PlugIns/Channltv.frappliance/Contents/Resources/SetupHelper
#/sbin/chmod 4555 /OSBoot/System/Library/CoreServices/Finder.app/Contents/PlugIns/Channltv.frappliance/Contents/Resources/SetupHelper

  echo "Done."
else
  echo "        channl.tv files not found, skipping..."
fi
